<template>
  <div class="wrapper">
    <div class="img">
      <img src="../assets/error-img/401.png" alt="404" />
    </div>
    <div class="info">
      <h3 class="title">抱歉</h3>
      <h4>您没有操作权限...</h4>
      <p>当前账号没有操作权限,请联系管理员</p>
      <el-button type="primary" size="default" @click="backHome"
        >返回首页</el-button
      >
    </div>
  </div>
</template>

<script setup lang='ts'>
import router from "../router";
import { ref, reactive, defineProps, defineEmit } from "vue";
const backHome = () => {
  router.push("/");
};
</script>
<style lang="scss" scoped>
.wrapper {
  width: 80%;
  padding-top: 10%;
  margin: auto;
  display: flex;
  > div {
    flex: 1;
    img {
      width: 100%;
    }
    .title {
      color: #62b387;
      font-weight: 900;
      font-size: 28px;
    }
  }
}
</style>